package com.steven.im.entity;

/**
 * Created by Steven on 2019/1/23.
 */
public class LoginEntity {

    /**
     * code : 0
     * message : 登录成功
     * result : {"message":"登录成功","sessionId":"d24d390c-8340-48f6-9eb8-44c4de5b0fe3","success":"true"}
     */

    private String code;
    private String message;
    private ResultBean result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * message : 登录成功
         * sessionId : d24d390c-8340-48f6-9eb8-44c4de5b0fe3
         * success : true
         */

        private String message;
        private String sessionId;
        private String success;
        private UserLoginEntity user;

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public String getSessionId() {
            return sessionId;
        }

        public void setSessionId(String sessionId) {
            this.sessionId = sessionId;
        }

        public String getSuccess() {
            return success;
        }

        public void setSuccess(String success) {
            this.success = success;
        }

        public UserLoginEntity getUser() {
            return user;
        }
    }
}
